package com.chenglai.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

/**
 * @author yawang
 * 商品规格组表
 */
@ApiModel( value ="t_cl_goods_attrGroup" )
@Table( name ="t_cl_goods_attrGroup" )
public class GoodsAttrGroup  implements Serializable {

    @Id
   	@Column(name = "attr_group_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer attrGroupId;

   	@Column(name = "attr_group_name" )
	@ApiModelProperty( value="null")
	private String attrGroupName;

   	@Column(name = "goods_id" )
	@ApiModelProperty( value="null")
	private Integer goodsId;

   	@Column(name = "attr_list" )
	@ApiModelProperty( value="暂时不用")
	private String attrList;

   	private List<GoodsAttr> goodsAttrList;


  public Integer getAttrGroupId() {
    return attrGroupId;
  }

  public void setAttrGroupId(Integer attrGroupId) {
    this.attrGroupId = attrGroupId;
  }


  public String getAttrGroupName() {
    return attrGroupName;
  }

  public void setAttrGroupName(String attrGroupName) {
    this.attrGroupName = attrGroupName;
  }


  public Integer getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(Integer goodsId) {
    this.goodsId = goodsId;
  }


  public String getAttrList() {
    return attrList;
  }

  public void setAttrList(String attrList) {
    this.attrList = attrList;
  }

    public List<GoodsAttr> getGoodsAttrList() {
        return goodsAttrList;
    }

    public void setGoodsAttrList(List<GoodsAttr> goodsAttrList) {
        this.goodsAttrList = goodsAttrList;
    }
}
